package freaks.terah.model;

import java.util.ArrayList;

public class Unit extends Ressource {
	private int[] stats;
	
	public Unit(String aName, String aDescription, String idString, int id, String aCategory, int[] aCost, int[] anOutput, int[] anUpkeep, ArrayList<String> aPre, int[] aStats, int anEditCost)
	{
		super(aName, aDescription, idString, id, aCategory, aCost, anOutput, anUpkeep, aPre, anEditCost);
		stats = aStats;
	}
	
	public int[] getStats()
	{
		return stats;
	}

	@Override
	public Ressource copy() {
		return new Unit(getName(), getDescription(), getStringId(), getId(), getCategory(), getCost(), getOutput(), getUpkeep(), getPre(), stats, getEditCost());
	}
}
